﻿<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" CodeFile="CTDonHang.aspx.cs" Inherits="Admin_CTDonHang" Title="Untitled Page" %>
<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="menuPlaceHolder" Runat="Server">
<h5>Menu</h5>

<ul class ="Actions">
<li class ="Selected"><a href ="DanhSachDonHang.aspx">Xem đơn hàng</a></li>
</ul>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolder" Runat="Server">
    <div class="title">
        Chi tiết đơn hàng
    </div>
    <div>
        <table bgcolor="#cccccc" border="0" cellpadding="3" cellspacing="1" width="100%">
            <tr>
                <td style="width: 30%">
                    Mã đơn hàng</td>
                <td style="width: 70%">
                    <asp:Literal ID="lit_MaDonHang" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td style="width: 30%">
                    Khách hàng</td>
                <td style="width: 70%">
                    <asp:Literal ID="lit_KhachHang" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td style="width: 30%">
                    Ngày đặt hàng</td>
                <td style="width: 70%">
                    <asp:Literal ID="lit_NgayDatHang" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td style="width: 30%">
                    Ngày giao hàng</td>
                <td style="width: 70%">
                    <asp:Literal ID="lit_NgayGiaoHang" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td style="width: 30%">
                    Địa chỉ giao hàng</td>
                <td style="width: 70%">
                    <asp:Literal ID="lit_NoiGiao" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td style="width: 30%">
                    Trị giá</td>
                <td style="width: 70%">
                    <asp:Literal ID="lit_TriGia" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td style="width: 30%">
                    Trạng thái đơn hàng</td>
                <td style="width: 70%">
                    <asp:Literal ID="lit_ttdh" runat="server"></asp:Literal></td>
            </tr>
            <tr>
                <td style="width: 30%">
                    TT Giao dịch</td>
                <td style="width: 70%">
                    <asp:Literal ID="lit_gd" runat="server"></asp:Literal></td>
            </tr>
        </table>
    </div>
    <div style="padding-top: 10px">
        <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
            <HeaderTemplate>
                <table bgcolor="#cccccc" border="0" cellpadding="3" cellspacing="1" width="100%">
               
                    <thead>
                        <tr class="listtableheader">
                            <th>
                                Sản phẩm</th>
                            <th>
                                Số lượng</th>
                            <th>
                                Đơn giá</th>
                            <th>
                                Thành tiền</th>
                        </tr>
                    </thead>
                    <tbody>
                    </tbody>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td>
                        <asp:Literal ID="lit_Ten" runat="server"></asp:Literal></td>
                    <td>
                        <%#Eval("SoLuong") %>
                    </td>
                    <td>
                        <%#Eval("DonGia") %>
                    </td>
                    <td>
                        <asp:Literal ID="lit_ThanhTien" runat="server"></asp:Literal></td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </tbody> </table>
            </FooterTemplate>
        </asp:Repeater>
    </div>
    <div style="width: 100%">
        <div style="float: left">
        </div>
        <cc1:pagerv2_8 id="Pager" runat="server" oncommand="Pager_Command"></cc1:pagerv2_8>
    </div>
</asp:Content>

